package com.medusa.aps.business.modules.basic.model.input;

import com.medusa.aps.business.common.web.valid.group.Update;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MaterialClassificationDTO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "id不能为空", groups = {Update.class})
    private Integer id;
    /**
     * 分类名称
     */
    @Schema(description = "分类名称")
    @NotBlank(message = "分类名称不能为空")
    private String classificationName;
    /**
     * 描述
     */
    @Schema(description = "描述")
    private String description;

}
